<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/WEB-TAG/platForm.tld" prefix="PF"%>
<c:forEach items="${form.fields}" var="node">
	<c:if test="${node.read}">
		<tr>
			<td class="title">
				${node.title}:
			</td>
			<td colspan="3">
				<c:if test="${node.write}">
					<c:if test="${node.fielsHtmlEdit==null}">
						<input type="text" style="width: ${node.formWidth}px;"
							class="${node.cssClass}" id="${node.id}" name="${node.name}"
							value="${node.value}">
					</c:if>
					<c:if test="${node.fielsHtmlEdit!=null}">
						${node.fielsHtmlEdit}
					</c:if>
				</c:if>
				<c:if test="${!node.write}">
					<c:if test="${node.fielsHtmlView!=null}">
						${node.fielsHtmlView}
					</c:if>
					<c:if test="${node.fielsHtmlView==null}">
						${node.value}
					</c:if>
				</c:if>
			</td>
		</tr>
	</c:if>
</c:forEach>
